﻿using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{

    public class V_Organization
    {
        //public int rownum { get; set; }

        public int ID { get; set; }

        public string Code { get; set; }

        /// <summary>
        /// 机构形式
        /// </summary>
        public string fName { get; set; }

        /// <summary>
        /// 机构类型
        /// </summary>
        public string tName { get; set; }
         /// <summary>
        ///     机构形式+"/" +机构类型
         /// </summary>
        public string ftName { get { return fName + "/" + tName; } set {   ftName=value;} }
        public string EnterpriseName { get; set; }

        public string SuperiorsOrganizationName { get; set; }

        public string PersonCharge { get; set; }

        public string PersonMobile { get; set; }

        public string LandlinePhone { get; set; }

        public int ViewFlag { get; set; }

        public string PrivinceName { get; set; }


        public string CityName { get; set; }

        public string RegionName { get; set; }

        public string Address { get; set; }

        public DateTime CreateDate { get; set; }




    }

    public class V_AddEnterprise
    {
     
        public int ID { get; set; }
        public string Code { get; set; }
        public string EnterpriseName { get; set; }
        public int? OrganizationForm { get; set; }
        public int? OrganizationId { get; set; }
        public string SuperiorsOrganization { get; set; }
        public int? ProvinceId { get; set; }
        public int? City { get; set; }
        public int? Region { get; set; }
        public string Address { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public string PersonCharge { get; set; }
        public string PersonMobile { get; set; }
        public string LandlinePhone { get; set; }
        public int? JurisdictionRegion { get; set; }
        public string Img { get; set; }
        public string Remark { get; set; }
        public int? ViewDel { get; set; }
        public int? ViewFlag { get; set; }
        public int? ChangeLoginID { get; set; }
        public string ChangeLoginName { get; set; }
        public DateTime? ChangeDate { get; set; }
        public DateTime? CreateDate { get; set; }


        public string userName { get; set; }

        public string userPwd { get; set; }
    }
}
